<?php 
	$tweet  = $this->item->getStatus();
	$tweet	= preg_replace("|([[:alpha:]]+://[^[:space:]]+[[:alnum:]/])|",'<a href="\\1" rel="nofollow" target="_blank">\\1</a>',$tweet); // turn any URL’s into links
	$tweet	= preg_replace("|@([a-zA-Z0-9_]+)|",'@<a href="http://twitter.com/\\1" target="_blank">\\1</a>',$tweet); // add “@username” links
	$tweet	= preg_replace("|#([a-zA-Z0-9_]+)|",'#<a href="tag/\\1">\\1</a>',$tweet); // add tag links	
?>

<div class="twitter">
	<div class="title entry-title p-name"><?= $tweet ?></div>
	<?php if ($this->item->getType() == SourceItem::IMAGE_TYPE) :?>
	<a href="<?= $this->item->getLink()?>" target="_blank"><img src='<?= $this->item->getImageUrl(ImageItem::SIZE_LARGE) ?>' width='350'/></a>
	<?php endif ?>
</div>
